#ifndef _TIMER_H
#define _TIMER_H

#include "sys.h"

typedef enum TIMER_CH
{
    TIMER2 = 0,
    TIMER3,
    TIMER4,
    TIMER_NUM,
}TIMER_CH_E;

typedef void (*pCycleFunc)(void);

void Timer_Init(TIMER_CH_E eTimer, u16 arr,u16 psc);
BOOL_E TimerCycleHandle_Set(TIMER_CH_E eTimer, pCycleFunc pFunc);

#endif

